﻿using System;

namespace MQTTServer.Models
{
    /// <summary>
    /// 二维码扫码信息推送
    /// </summary>
    public class QRCodePush
    {
        /// <summary>
        ///  二维码扫码信息推送
        /// </summary>
        public string @operator { get; set; }

        /// <summary>
        /// 消息 id,区分每一条消
        /// </summary>
        public string messageId { get; set; }

        /// <summary>
        ///  QRCodePushInfo
        /// </summary>
        public QRCodePushInfo info { get; set; }
    }

    public class QRCodePushInfo
    {
    /// <summary>
    /// 一体机设备号 id,返回值
    /// </summary>
    public string facesluiceId { get; set; }
    /// <summary>
    /// 一体机名称
    /// </summary>
    public string facesluiceName { get; set; }
    /// <summary>
    /// 上报的二维码扫码结果信息
    /// </summary>
    public string QRCodeInfo { get; set; }
    /// <summary>
    /// 上报的时间
    /// </summary>
    public DateTime time { get; set; }
    }
}